package com.md.drcs.dicom.entity;

import com.md.common.utils.json.JSONUtil;
import org.apache.commons.lang3.StringUtils;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 功能描述：t_series表实体
 * 
 * @author liuzg1@guahao.com
 * @version 1.0
 * @date 2018/12/11 18:04
 * @since JDK 1.8
 */
@Table(name = "t_series")
public class SeriesEntity implements Serializable{
	
	//columns START
	/**
	 * nSeriId
	 */
	@Id
	@Column(name = "nSeriId")
	private Long nSeriId;
	/**
	 * nStuId
	 */
	@Column(name = "nStuId")
	private Long nStuId;
	/**
	 * nSeriNum
	 */
	@Column(name = "nSeriNum")
	private Integer nSeriNum;
	/**
	 * sSeriDesc
	 */
	@Column(name = "sSeriDesc")
	private String sSeriDesc;
	/**
	 * sLayerDirection
	 */
	@Column(name = "sLayerDirection")
	private String sLayerDirection;
	/**
	 * sLayers
	 */
	@Column(name = "sLayers")
	private String sLayers;
	/**
	 * seriDateTime
	 */
	@Column(name = "seriDateTime")
	private LocalDateTime seriDateTime;
	/**
	 * nNumOfIns
	 */
	@Column(name = "nNumOfIns")
	private Integer nNumOfIns;
	/**
	 * sFormat
	 */
	@Column(name = "sFormat")
	private String sFormat;
	/**
	 * nDelFlag
	 */
	@Column(name = "nDelFlag")
	private Integer nDelFlag;
	/**
	 * sCot
	 */
	@Column(name = "sCot")
	private String sCot;
	/**
	 * sSeriInsUID
	 */
	@Column(name = "sSeriInsUID")
	private String sSeriInsUID;
	/**
	 * sImagePath
	 */
	@Column(name = "sImagePath")
	private String sImagePath;
	/**
	 * nBurnToDisk
	 */
	@Column(name = "nBurnToDisk")
	private Integer nBurnToDisk;
	//columns END 数据库字段结束
	
	//get and set
	public void setNSeriId(Long nSeriId) {
		this.nSeriId = nSeriId;
	}
	
	public Long getNSeriId() {
		return this.nSeriId;
	}
	
	public void setNStuId(Long nStuId) {
		this.nStuId = nStuId;
	}
	
	public Long getNStuId() {
		return this.nStuId;
	}
	
	public void setNSeriNum(Integer nSeriNum) {
		this.nSeriNum = nSeriNum;
	}
	
	public Integer getNSeriNum() {
		return this.nSeriNum;
	}
	
	public void setSSeriDesc(String sSeriDesc) {
		this.sSeriDesc = StringUtils.trim(sSeriDesc);
	}
	
	public String getSSeriDesc() {
		return this.sSeriDesc;
	}
	
	public void setSLayerDirection(String sLayerDirection) {
		this.sLayerDirection = StringUtils.trim(sLayerDirection);
	}
	
	public String getSLayerDirection() {
		return this.sLayerDirection;
	}
	
	public void setSLayers(String sLayers) {
		this.sLayers = StringUtils.trim(sLayers);
	}
	
	public String getSLayers() {
		return this.sLayers;
	}
	
	public void setSeriDateTime(LocalDateTime seriDateTime) {
		this.seriDateTime = seriDateTime;
	}
	
	public LocalDateTime getSeriDateTime() {
		return this.seriDateTime;
	}
	
	public void setNNumOfIns(Integer nNumOfIns) {
		this.nNumOfIns = nNumOfIns;
	}
	
	public Integer getNNumOfIns() {
		return this.nNumOfIns;
	}
	
	public void setSFormat(String sFormat) {
		this.sFormat = StringUtils.trim(sFormat);
	}
	
	public String getSFormat() {
		return this.sFormat;
	}
	
	public void setNDelFlag(Integer nDelFlag) {
		this.nDelFlag = nDelFlag;
	}
	
	public Integer getNDelFlag() {
		return this.nDelFlag;
	}
	
	public void setSCot(String sCot) {
		this.sCot = StringUtils.trim(sCot);
	}
	
	public String getSCot() {
		return this.sCot;
	}
	
	public void setSSeriInsUID(String sSeriInsUID) {
		this.sSeriInsUID = StringUtils.trim(sSeriInsUID);
	}
	
	public String getSSeriInsUID() {
		return this.sSeriInsUID;
	}
	
	public void setSImagePath(String sImagePath) {
		this.sImagePath = StringUtils.trim(sImagePath);
	}
	
	public String getSImagePath() {
		return this.sImagePath;
	}
	
	public void setNBurnToDisk(Integer nBurnToDisk) {
		this.nBurnToDisk = nBurnToDisk;
	}
	
	public Integer getNBurnToDisk() {
		return this.nBurnToDisk;
	}
	
	
	public String toString() {
		return JSONUtil.toJSON(this);
	}
	
}

	
